/**
 * Created by guany on 2017/1/9.
 */

var express = require('express');
var router = express.Router();
var dao = require("../dao/dao");

/* GET department list */
router.get('/getInfo', function(req, res, next) {
    dao.getInfo(req,res,next);
});
router.get('/selectChildDep', function(req, res, next) {
    dao.selectChildDep(req,res,next);
});
router.get('/findUserInfoByDepId', function(req, res, next) {
    dao.findUserInfoByDepId(req,res,next);
});
router.get('/selectList', function(req, res, next) {
    dao.selectList(req,res,next);
});


/* POST department list */

module.exports = router;